<?php
$serbername ="127.0.0.1";
$username = "root";
$password = "";
$dbname = "t_message";

$conn = new mysqli($servername,$username,$password);
$conn = query ("ser names utf8");  //设置数据库
?>
        